projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f39f644
)
Don't use direct accessors to GtkAccelLabel in gail module
author
Javier Jardón
<jjardon@gnome.org>
Mon, 30 Nov 2009 04:31:24 +0000
(
05:31
+0100)
committer
Javier Jardón
<jjardon@gnome.org>
Sun, 2 May 2010 23:51:20 +0000
(
01:51
+0200)
modules/other/gail/gailmenuitem.c
patch
|
blob
|
history
diff --git
a/modules/other/gail/gailmenuitem.c
b/modules/other/gail/gailmenuitem.c
index 28095930f1f231c27b72ff2e89f379e759674d47..0e61a0b31c610ab6707981f13cb8c7b5eec99749 100644
(file)
--- a/
modules/other/gail/gailmenuitem.c
+++ b/
modules/other/gail/gailmenuitem.c
@@
-527,13
+527,17
@@
gail_menu_item_get_keybinding (AtkAction *action,
if (GTK_IS_ACCEL_LABEL (child))
{
GtkAccelLabel *accel_label;
+ GClosure *accel_closure;
accel_label = GTK_ACCEL_LABEL (child);
- if (accel_label->accel_closure)
+ g_object_get (accel_label,
+ "accel-closure", &accel_closure,
+ NULL);
+ if (accel_closure)
{
- key = gtk_accel_group_find (
accel_label->accel_group
,
+ key = gtk_accel_group_find (
gtk_accel_group_from_accel_closure (accel_closure)
,
find_accel_new,
- accel_
label->accel_
closure);
+ accel_closure);
}
}